﻿using System;
using System.Collections.Generic;

namespace School.Entities;

/// <summary>
/// 学生表
/// </summary>
public partial class Students
{
    /// <summary>
    /// 学号
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 年龄
    /// </summary>
    public int Age { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string Gender { get; set; } = null!;

    public virtual ICollection<Enrollments> Enrollments { get; set; } = new List<Enrollments>();
}
